-- GENERATED SPELL FOR [Mariner Softsong] --


function spell0_25024(pUnit, Event) --@Net,n/a--
pUnit:FullCastSpellOnTarget(12024,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25024', 5334, 1)
end

function Sorts_25024(pUnit, Event)
local choix_sorts_25024 = math.random(0, 0)
if choix_sorts_25024 == 0 then
pUnit:RegisterEvent('spell0_25024', 1, 1)
end
end

function mob25024_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25024', math.random(1500, 3000), 1)
end

function mob25024_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25024_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob25024_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(25024, 1, 'mob25024_Action')
RegisterUnitEvent(25024, 2, 'mob25024_Leave')
RegisterUnitEvent(25024, 3, 'mob25024_Kill')
RegisterUnitEvent(25024, 4, 'mob25024_Die')
